package com.dog.demo.service;

import com.dog.demo.mapper.usermapper;
import com.dog.demo.pojo.Smbms;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("userService")
public class userServicelmpl implements userService{
    @Resource
    private usermapper usermapper;
    @Override
    public List<Smbms> getSmbms() {
        return usermapper.getSmbms();
    }

    @Override
    public int getins(Smbms smbms) {
        return usermapper.getins(smbms);
    }

    @Override
    public Smbms ups(int id) {
        return usermapper.ups(id);
    }

    @Override
    public int deles(int id) {
        return usermapper.deles(id);
    }

    @Override
    public List<Smbms> getlist(int id) {
        return usermapper.getlist(id);
    }
}
